package com.gc.server.dao;

import com.gc.server.entity.VoteEntity;
import com.gc.server.vo.VoteVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
import java.util.List;
/**
 * 投票记录Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date ${datetime}
 */
@Mapper
public interface VoteDao extends BaseDao<VoteEntity> {

    List<VoteVo> findVo(VoteVo vo);

    VoteVo getVo(Long id);


    VoteEntity findByUserIdAndBookId(Long userId, Long bookId);
}
